package com.rceeslca.modules.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.rceeslca.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 登录日志
 * @author rceeslca
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sys_log_login")
public class SysLogLoginEntity extends BaseEntity {

    private static final long serialVersionUID = 5091161552009142603L;

    /**用户操作 0用户登录 1用户退出**/
    private Integer operation;

    /**状态 0失败 1成功 2账号已锁定**/
    private Integer status;

    /**用户代理**/
    private String userAgent;

    /**操作IP**/
    private String ip;

    /**用户名**/
    private String creatorName;

}
